//
//  GuideVC.swift
//  WatermarkCamera
//
//  Created by 赵新 on 4/7/2024.
//

import UIKit

class GuideVC: BaseVC {

    override func viewDidLoad() {
        super.viewDidLoad()

        
    }

    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        showPopUpWindow()
        
        
    }
    
    
    
    func showPopUpWindow() {
        let alert = WelcomePopupWindow.Axc.CreateFromNib(name: "WelcomePopupWindow")
        
        var config: PresentToolVC.Config =
            .basicConfig(view: alert, style: .alert(), layoutBlock: { make in
                make.center.equalToSuperview()
                make.width.equalToSuperview().multipliedBy(0.82333)
                make.height.equalTo(514)
            })
        config.isTouchMaskDismiss = false
        let presentVC = PresentToolVC(config: config)
        alert.presentVC = presentVC
        presentVC.show()
    }
}
